Welcome![Sign In][Sign Up]
Location:
Search - random number

Search list

[Otherrand2

Description: 虽然说生成随机数大家都知道.但是要生成指定长度.指定字符组合.随机率在1/2000000.就难了.这是我在做充值卡时写的用来生成充值时写的随机数生成器.也是原创吧.在网上找了一堆不满意,只好自己写了.-generated random number is known to all. However, to generate a specified length. Designated character portfolio. Random rates in the 1/2 million. Very difficult. This is my doing prepaid card was used to generate the recharging time to write the random number generator. It is also original. On the Internet to find a heap of dissatisfied, but his writing.
Platform: | Size: 45056 | Author: 蒋宏伟 | Hits:

[GUI Developrandom_nor_eve

Description: 用VC++6实现的一个伪随机数生成演示程序源码,包含了正态分布随机数生成和平均分布随机数两种生成方式。-VC 6 achieved a pseudo-random number generator demonstration program source code, including the normal random number generation and distribution of random numbers generated both ways.
Platform: | Size: 23552 | Author: 黄亮 | Hits:

[AI-NN-PR改进遗传算法-郭涛算法做最优化问题很管用

Description: 改进遗传算法-郭涛算法做最优化问题很管用,算法的基本思想是 先任意产生n个随机数,然后从n个数里随机选择m个数,再有这m个 数合成一个新数,将这个新数同n个数中间适应值函数值的最差的比较, 如果好的话就取代最差的那个,如果它比最好的还要好的话,则把最好的 也取代。如果比最差的坏,则重新合成一个新数。依次循环下去。 程序的奇妙之处是GA_crossover()函数,产生的新数确实比较好,看看 那位大侠能改进一下,产生比这跟好的数。-improved genetic algorithm- Guo Tao done optimization algorithm is very effective, and the algorithm is the first basic idea arbitrary n generated random number and then the number li n m randomly selected number, and this number m of a new synthesis of the new middle with n number fitness function of the worst by comparison, if a good case to replace the worst, um, if it even than the best, then ruled the best have replaced. If worse than the worst, a de novo synthesis of new. Followed by the cycle continues. The magic of procedures is GA_crossover () function, the new really good to see heroes who can be improved upon, it generated more than a few with a good.
Platform: | Size: 2048 | Author: 龚文引 | Hits:

[AI-NN-PR我编写的monte carlo随机数发生器检验程序

Description: 该程序用来检验monte carlo随机数的分布是否满足随机性要求。包括独立性检验、均匀性检验和参数检验。-procedures used to test the Monte Carlo random number distribution to satisfy the requirements randomness. Including the independence test, uniform test parameters and test.
Platform: | Size: 3072 | Author: 存友 | Hits:

[Otherrandom(mt19937)

Description: 一个随机数产生器(mt19937) 计算物理中Monte Carlo方法中的基本条件 周期为2^19937-a random number generator (mt19937) Computational Physics Monte Carlo methods of the basic conditions for the cycle 2 ^ 19937
Platform: | Size: 2048 | Author: 张文涛 | Hits:

[Mathimatics-Numerical algorithmsPOSSRAND

Description: 生成均匀分布随机数和泊松分布随机数的程序-generate uniformly distributed random number and random Poisson distribution of the process
Platform: | Size: 1024 | Author: wgg | Hits:

[Communication05041062

Description: 1.产生(0-1)分布随机数的方法:z i =(16807zi-1 +1)mod(pow(2,32)).被主函数调用. 2.产生U(0-1)分布利用公式:x1=sqrt(-2lnU1)cos(2PiU2), x2=sqrt(-2lnU1)sin(2PiU2) 3.产生瑞利分布,用两个独立同分布的正态分布值,用公式 x= sqrt(Y1*Y1+Y2*Y2)产生瑞利随机数. 4泊松分布-1. 20 (0-1) random number distribution methods : i = z (16807zi-1 1) mod (pow (2,32)). The main function was called. 2. Have U (0-1) distribution using the formula : x1 = sqrt (-2lnU1) cos (2PiU2), x2 = sqrt (-2lnU1) sin (2PiU2) 3. Rayleigh distribution, using two independent normal distribution with the distribution of values with the formula x = sqrt (Y1- Y2 Y1- Y2)- Health Rayleigh random number. 4 Poisson distribution
Platform: | Size: 52224 | Author: 吕军红 | Hits:

[Windows DevelopFYPrangen

Description: 簡單易用random number generator-easy and simple random number generator
Platform: | Size: 5120 | Author: Steve | Hits:

[Mathimatics-Numerical algorithmsdistributions

Description: Distribution generator Here is a simple generator which can build some distributions with given properties. Distributions generator (compile with -lm) Typical use might be: ./distributions -u -m 1 -M 10 -n 100 -s 500 Generates a distribution of 100 uniform random numbers between 1 and 10, such that the sum of numbers is 500. ./distributions -p -2.2 -m 1 -M 100 -n 200 -s 500 Idem with 200 numbers between 1 and 100 following a power law with exponent --Distribution generatorHere is a simple generator which can build some distributions with given properties.Distributions generator (compile with-lm) Typical use might be:./Distributions-u-m 1-M 10-n 100-s 500Generates a distribution of 100 uniform random numbers between 1 and 10, such that the sum of numbers is 500../distributions-p-2.2-m 1-M 100-n 200-s 500Idem with 200 numbers between 1 and 100 following a power law with exponent--
Platform: | Size: 2048 | Author: 阿类 | Hits:

[Linux-Unixrandom.tar

Description: lavarnd是一个随机数发生器,要求 2.4.9-31 kernel以上-lavarnd is a random number generator requires more than 2.4.9-31 kernel
Platform: | Size: 141312 | Author: 覃杨杰 | Hits:

[AlgorithmConvexHull

Description: 使用C++实现的Graham扫描法(求解凸包问题),可设置生成随机点的个数、样式,同时支持设置显示范围、显示算法处理时间及使用文件导入导出点等功能。(文件格式为,头四个字节是点的个数,以后分别是各个点的x坐标和y坐标,每个数值均占4字节)。-The use of C++ Realize the Graham scan method (for solving convex hull problems), can be set to generate a random number of points, patterns, and at the same time to support the set display range, display algorithm processing time and the use of document features such as import and export points. (File format for the first four bytes is the number of points, after all points are x coordinates and y coordinates, each account for 4-byte value).
Platform: | Size: 51200 | Author: 王晓桐 | Hits:

[Otherprbs

Description: 伪随机序列产生器,VHDL程序,不记得在哪个论坛上下的。-Pseudo-random sequence generator, VHDL procedures, do not remember in which forum from top to bottom.
Platform: | Size: 2048 | Author: 韩丹 | Hits:

[Algorithmrandom

Description: 产生任意均值与方差的正态分布随机数序列 产生任意均值与方差的正态分布随机数序列-Have arbitrary mean and variance of normal distribution random number sequence generated arbitrary mean and variance of normal distribution random number sequence
Platform: | Size: 7168 | Author: t830220 | Hits:

[Othergn

Description: 产生符合均匀分布、高斯分布、指数分布、泊松分布,伽玛分布等的随机数-Produced in line with the uniform distribution, Gaussian distribution, exponential distribution, Poisson distribution, gamma distribution of the random number
Platform: | Size: 144384 | Author: wb | Hits:

[Windows Developrand

Description: 测试插入排序平均运行时间 1) 每次while循环中,生成0,1,…,n-1的随机排列 2) 每次while循环,至少生成20个随机排列,并进行排序,至少要耗费10个时钟滴答 3) 用耗费时间除以排序的随机排列数目,得到平均运行时间 -Insertion Sort test average run time 1) for each while loop to generate 0,1, ..., n-1 random order 2) of each cycle while, at least 20 randomly generated order, and sort, at least spend 10 the clock ticking 3) Sort by time divided by the number of random order, the average run time
Platform: | Size: 481280 | Author: yuanxu | Hits:

[Windows Developrand1

Description: 测试插入排序平均运行时间 1) 每次while循环中,生成0,1,…,n-1的随机排列 2) 每次while循环,至少生成20个随机排列,并进行排序,至少要耗费10个时钟滴答 3) 用耗费时间除以排序的随机排列数目,得到平均运行时间 -Insertion Sort test average run time 1) for each while loop to generate 0,1, ..., n-1 random order 2) of each cycle while, at least 20 randomly generated order, and sort, at least spend 10 the clock ticking 3) Sort by time divided by the number of random order, the average run time
Platform: | Size: 479232 | Author: yuanxu | Hits:

[matlabperiodogramestimate

Description: Generate 100 samples of a zero-mean white noise sequence with variance , by using a uniform random number generator. a Compute the autocorrelation of for . b Compute the periodogram estimate and plot it. c Generate 10 different realizations of , and compute the corresponding sample autocorrelation sequences , and . Compute the average autocorrelation sequence as and the corresponding periodogram for . d Compute and plot the average periodogram using the Bartlett method. e Comment on the results in parts (a) through (d). -Generate 100 samples of a zero-mean white noise sequence with variance, by using a uniform random number generator.a Compute the autocorrelation of for. B Compute the periodogram estimate and plot it. C Generate 10 different realizations of, and compute the corresponding sample autocorrelation sequences, and. Compute the average autocorrelation sequence as and the corresponding periodogram for. d Compute and plot the average periodogram using the Bartlett method. e Comment on the results in parts (a) through (d).
Platform: | Size: 1024 | Author: 冀晗 | Hits:

[Communication-Mobilerandom

Description: 生成随机数,用来产生RS编码解码所需要的符合随机分布的数,以便之后检查的科学性-Generated random number, used to generate the RS codec required to comply with a number of randomly distributed, so after checking the scientific nature of
Platform: | Size: 3595264 | Author: 桃子 | Hits:

[OtherRandom_Data_Generator

Description: 一个简单的VC写的生成N位随机数的生成器,已在VC环境下编译测试通过,希望对需要的朋友有帮助。-VC to write a simple generation of N-bit random number generator has been in the VC compiler test environment, and they hope to have helped a friend in need.
Platform: | Size: 83968 | Author: s050403054 | Hits:

[Mathimatics-Numerical algorithmsrandom

Description: 利用VC++开发的随机数生成程序,可以直接运行-Use VC++ Developed procedures for random number generator, you can directly run
Platform: | Size: 1906688 | Author: 梁子旭 | Hits:
« 1 2 3 4 5 6 78 9 10 11 12 ... 50 »

CodeBus www.codebus.net